package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.HomeMiddleData;

import java.util.ArrayList;

public interface HomeMiddleDataMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HomeMiddleData record);

    int insertSelective(HomeMiddleData record);

    HomeMiddleData selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HomeMiddleData record);

    int updateByPrimaryKey(HomeMiddleData record);

    ArrayList<HomeMiddleData> queryMiddleShowDataList();

    // 根据需求id删除需求首页信息
    void deleteByDemandId(Long biddingDemandId);

    // 根据需求id查询需求首页信息
    HomeMiddleData queryByDemandId(Long biddingDemandId);
}